// depends on crypto-js
window.EncryptUtil = window.EncryptUtil || {
  hmacSha256: function(content, key) {
    var cipher = CryptoJS.HmacSHA256(content, key)
    return CryptoJS.enc.Base64.stringify(cipher)
  }
}
